package com.kaifamiao.demo.d0728;

import com.kaifamiao.demo.d0727.Student;

public class FinalTest {


    public static void main(String[] args) {
        final int num;
        num = 10;

        // 常量
        final Student stu = new Student();
        stu.no = 1;
        stu.name = "张三";
        stu.score = 59;


        change(stu);

        stu.show();
    }

    public static void change(final Student s){
//        s = new Student();
         s.name = "法外狂徒";
         s.no = 2;
         s.score = 10;
    }
}
